
cc.Class({
    extends: cc.Component,

    properties: {
        

    },

    // LIFE-CYCLE CALLBACKS:

    
    onLoad () {
       
        //请求资源信息
    
        var params = {
            sign : cc.vv.userMgr.sign,
            userid : cc.vv.userMgr.userid,
        };
        console.log("the new")
        cc.vv.http.sendRequest("/getResourcesInfo",params,function(data){
            
            if(data.code == 1){
                cc.log("errmsg:",data.msg);
                return;
            }
           
        },cc.vv.url.cityServer);

        //按时更新
        
    },

    

    start () {},

    // update (dt) {
    //    
    // },
});
